package cn.huiyunche.base.service.vo;

import cn.huiyunche.base.service.enums.AccPaytypeEnum;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class BScoresTurnoverVo implements Serializable {

    private Long userId;

    private String userName;

    private Integer userType;

    private BigDecimal score;

    private Integer businessType;

    private String businessTypeText;

    private Long businessId;

    private Date createTime;

    private String directionText;

    private static final long serialVersionUID = 1L;

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getUserType() {
        return userType;
    }

    public void setUserType(Integer userType) {
        this.userType = userType;
    }

    public BigDecimal getScore() {
        return score;
    }

    public void setScore(BigDecimal score) {
        this.score = score;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public String getBusinessTypeText() {
        return businessType == null ? "" : AccPaytypeEnum.getByValue(businessType).getText();
    }

    public void setBusinessTypeText(String businessTypeText) {
        this.businessTypeText = businessTypeText;
    }

    public Long getBusinessId() {
        return businessId;
    }

    public void setBusinessId(Long businessId) {
        this.businessId = businessId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDirectionText() {
        return directionText;
    }

    public void setDirectionText(String directionText) {
        this.directionText = directionText;
    }

    @Override
    public String toString() {
        return "BScoresTurnoverVo [userId=" + userId + ", userName=" + userName + ", userType=" + userType + ", score="
                + score + ", businessType=" + businessType + ", businessTypeText=" + businessTypeText + ", businessId="
                + businessId + ", createTime=" + createTime + ", directionText=" + directionText + "]";
    }

}